import { post, get } from '@/utils/http'

const api = {
  genQr: '/yzx/system/auth/user/genQr',
  userVerificationCodeLogin: '/yzx/system/auth/user/login/verification/code',
}

export const genQr = (content) => get(api.genQr + `?content=${content}`, null)

export const userVerificationCodeLogin = (params) =>
  post(api.userVerificationCodeLogin, params)
